package org.boot.myledger.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: liupy
 * @Date: 2024/3/25
 * 用户实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    private Integer userId;

    private String username;

    private String password;

    private String phone;

    private int sex;

    private String avatar;

    public User(String phone, String password) {
        this.phone = phone;
        this.password = password;
    }

}
